package com.hex.es.service;


import com.hex.es.entity.EsInfoDomain;

import java.io.IOException;
import java.util.List;

/**
 * es批处理接口
 *
 * @author hex
 * @date 2019/11/04
 */
public interface EsBulkOperationSerivce {

    void insertBatch(List<EsInfoDomain> dataList) throws IOException;

    void updateBatch(List<EsInfoDomain> dataList) throws IOException;

    void deleteBatch(List<EsInfoDomain> dataList) throws IOException;
}
